package com.app.teaware.bean;


import com.alibaba.fastjson.annotation.JSONField;

import java.util.ArrayList;

public class GoodsWorksListBean extends BaseListBean {



    private ArrayList<GoodsWorks> list = new ArrayList<GoodsWorks>();

    public ArrayList<GoodsWorks> getList() {
        return list;
    }

    public void setList(ArrayList<GoodsWorks> list) {
        this.list = list;
    }

    @JSONField(serialize = false)
    public void addListBean(GoodsWorksListBean listbean) {
        if (listbean == null)
            return;
        if (this.getCurrentPage() == INIT_PAGE) {
            setList(listbean.getList());
        } else {
            if (list == null)
                list = new ArrayList<GoodsWorks>();
            list.addAll(listbean.getList());
        }
        setListBeanData(listbean);
    }


}
